package org.deltaset.meta;

import java.io.Serializable;

/**
 *
 * @author dmakariev
 */
public interface EntityResolver extends Serializable {

    boolean isEntity(final Class checkClass);

    Object extractEntityId(Object entity);

    Object convertToEntityId(String id, Class entityClass);

    String uniqueStringId(Object entity);
    
    boolean isRemovableCollection(final MetaField metaField);

    boolean isOrderableCollection(final MetaField metaField);
}
